var express = require('express');
var router = express.Router();
var speakHostController = require("../../api/admin/speak_host");

router.get('/', speakHostController.getSpeakHostPage);

router.get('/:id',speakHostController.getSpeakHostById);

router.post('/',speakHostController.addSpeakHost);

router.post('/:id',speakHostController.updateSpeakHost);

router.delete('/',speakHostController.delSpeakHostByIds);

module.exports = router;